package com.jaret.elk.service;

import lombok.extern.slf4j.Slf4j;
import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate;
import org.springframework.stereotype.Service;

/**
 * @author jaret
 * @date 2021/7/18 23:16
 * @description
 */
@Slf4j
@Service
public class ElasticService {

    @Autowired
    private ElasticsearchRestTemplate elasticsearchRestTemplate;

    public RestHighLevelClient getClient(){
        return  null;
    }

}
